﻿{include file="layout/header" title="网上选课" /}
        <div id="myCarousel" class="carousel slide" data-ride="carousel" data-interval="6000">
            <ol class="carousel-indicators">
                <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
                <li data-target="#myCarousel" data-slide-to="1"></li>
            </ol>
            <div class="carousel-inner" role="listbox">
                <div class="item active">
                    <img src="__INDEX__/img/zc1.png" alt="ASP.NET" class="img-responsive" />
                    <div class="carousel-caption">
                        <p>
                            满足学生个性化学习需求，促进人才培养模式转变。
                            <a class="btn btn-primary btn-default" href="{:url('Index/Enrollment/index')}">
                                我要选课
                            </a>
                        </p>
                    </div>
                </div>
                <div class="item">
                    <img src="__INDEX__/img/zc2.png" alt="Visual Studio" class="img-responsive" />
                    <div class="carousel-caption">
                        <p>
                            加强学校选择性课程建设，推进义务教育课程改革。
                            <a class="btn btn-default btn-primary" href="{:url('Index/Enrollment/index')}">
                                我要选课
                            </a>
                        </p>
                    </div>
                </div>
            </div>
            <a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev">
                <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
                <span class="sr-only">Previous</span>
            </a>
            <a class="right carousel-control" href="#myCarousel" role="button" data-slide="next">
                <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
                <span class="sr-only">Next</span>
            </a>
        </div>

        <div class="row">
            <div class="col-md-3">
                <h2>周二第八节</h2>
                <ul>
                    {volist name='courses1' id='course'}
                    <li><a href="{:url('index/details',['course_id' => $course.course_id])}">{$course.course_name}</a></li>
                    {/volist}
                </ul>
            </div>
            <div class="col-md-3">
                <h2>周二第九节</h2>
                <ul>
                    {volist name='courses2' id='course'}
                    <li><a href="{:url('index/details',['course_id' => $course.course_id])}">{$course.course_name}</a></li>
                    {/volist}
                </ul>
            </div>
            <div class="col-md-3">
                <h2>周四第八节</h2>
                <ul>
                    {volist name='courses3' id='course'}
                    <li><a href="{:url('index/details',['course_id' => $course.course_id])}">{$course.course_name}</a></li>
                    {/volist}
                </ul>
            </div>
            <div class="col-md-3">
                <h2>周四第九节</h2>
                <ul>
                    {volist name='courses4' id='course'}
                    <li><a href="{:url('index/details',['course_id' => $course.course_id])}">{$course.course_name}</a></li>
                    {/volist}
                </ul>
            </div>
        </div>
{include file="layout/footer" /}